From: Christopher Davis Date: Sat, 9 Jul 2022 14:23:12 +0000 (-0400) Subject: extensions-app: Port about to AdwAboutWindow X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~255 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f7b817a6a0a2648cc62ec9417a4f796caa924c09;p=gnome-shell.git extensions-app: Port about to AdwAboutWindow libadwaita has a new About window, and GNOME apps are expected to use it going forward instead of GtkAboutDialog. Comments are meant to be detailed, and are no longer shown in the main view. So we remove the old comments. Part-of: --- diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js index 56e10769f..670e4eb68 100644 --- a/subprojects/extensions-app/js/main.js +++ b/subprojects/extensions-app/js/main.js @@ -199,24 +199,29 @@ var ExtensionsWindow = GObject.registerClass({ } _showAbout() { - let aboutDialog = new Gtk.AboutDialog({ - authors: [ + let aboutWindow = new Adw.AboutWindow({ + developers: [ 'Florian Müllner ', 'Jasper St. Pierre ', 'Didier Roche ', 'Romain Vigier ', ], + designers: [ + 'Allan Day ', + 'Tobias Bernard ', + ], translator_credits: _('translator-credits'), - program_name: _('Extensions'), - comments: _('Manage your GNOME Extensions'), + application_name: _('Extensions'), license_type: Gtk.License.GPL_2_0, - logo_icon_name: Package.name, + application_icon: Package.name, version: Package.version, + developer_name: _('The GNOME Project'), + website: 'https://gitlab.gnome.org/GNOME/gnome-shell/-/tree/HEAD/subprojects/extensions-app', + issue_url: 'https://gitlab.gnome.org/GNOME/gnome-shell/issues/new', transient_for: this, - modal: true, }); - aboutDialog.present(); + aboutWindow.present(); } _logout() {